package com.bawei.module_home.discovery.respository

import androidx.lifecycle.LiveData
import com.bawei.library_common.mvvm.BaseRepository
import com.bawei.library_network.newFactory.ApiResponse
import com.bawei.module_home.HomeService
import com.bawei.module_home.discovery.entity.DiscoveryEntity

/**
 * @Author : yaotianxue
 * @Time : On 2023/5/29 19:06
 * @Description : DiscoveryRepository
 */
class DiscoveryRepository:BaseRepository() {
    fun discovery(): LiveData<ApiResponse<DiscoveryEntity>>{
        return createApiService(HomeService::class.java).discovery()
    }
}